import {
  mergeStore
} from 'src/common/util'

import * as newLoan from './newLoan'
import * as checkLoan from './checkLoan'
import * as releaseLoan from './releaseLoan'

const index = {
  state: {},
  getters: {},
  actions: {},
  mutations: {}
}

const store = mergeStore(
  index,
  newLoan,
  checkLoan,
  releaseLoan
)

export default {
  state: store.state,
  getters: store.getters,
  actions: store.actions,
  mutations: store.mutations
}